package com.autcar.training.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ProjectName: training
 * @Package: com.autcar.training.entity
 * @ClassName: Worker
 * @Author: YHHHH
 * @Description: 员工类
 * @Date: 2020/8/28 23:30
 * @Version: 1.0
 */
@Data
@TableName("worker")
public class Worker {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String username;

    private String password;

    private Integer sex;

    private String tell;

    private String position;

}
